﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RecognitionForm.Core;

namespace RecognitionForm.Handler
{
    public interface IStaffInfoDal : IBaseDal<StaffInfo> {

        Task<IEnumerable<StaffInfo>> GetStaffInfosByDepart(string depart);
    }

    public interface IRecognitionLogDal : IBaseDal<RecognitionLogInfo> 
    {
        Task<int> GetScalarLog(string staffcode, DateTime startTime, DateTime endTime);

        Task<IEnumerable<dynamic>> GetLastLogs(DateTime startTime, DateTime endTime);
    }

}
